﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Nav.aspx.cs" Inherits="Hxsoft.AppV1.Admin.Nav" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
	<title>导航</title>
	<style type="text/css">
	body{padding:0px;margin:0px;border:0px;width:100%;height:100%;}
	
	#MainNav h3
	{
		font-weight:bold;
	}
	
	#MainNav ul
	{
		margin:0;
		border:0;
		padding:0;
		list-style: none outside;
	}
	
	#MainNav li
	{
		display:block;
	}
	
	#MainNav .ui-accordion-content
	{
		border:1px solid #ccc;
		padding:5px 5px 5px 20px;
	}
	</style>
</head>
<body>
	<script type="text/javascript" language="javascript">
	$(function(){
		var parms = { header: "h3", autoHeight: false,
			change: function(event, ui)
			{
				var name = ui.newHeader.attr("name");
				if(name == "TagUpdateCachePage")
				{
					ui.newContent.html("正在加载缓存页...");
					ui.newContent.load("CachePageManage/UpdateList.aspx", null, function(){
						$(this).prepend("<div><a href=\"<%= ViewAutoBuildLogUrl %>\" target=\"Main\">查看日志</a></div>");
					});
				}
			}
		}
		if($.browser.msie && $.browser.version == "6.0")
		{
			parms.autoHeight = true;
			parms.fillSpace = true;
		}
		$("#MainNav").accordion(parms);
	});
	</script>
	<style type="text/css">
	#BuildPageCacheTab .ui-accordion-content { padding:5px 0 5px 0; }
	</style>
	<div id="MainNav">
		<asp:Literal ID="CtrMainNavHtml" runat="server"></asp:Literal>
		<div id="BuildPageCacheTab">
			<h3 name="TagUpdateCachePage"><a href="#">更新缓存页</a></h3>
			<div>
				<div></div>
			</div>
		</div>
	</div>
</body>
</html>